package com.spring.sys.po;

import java.io.Serializable;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

public class SysMenu implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 8730144043646631998L;

	private Integer id;

    @JSONField(name="pId")
    private Integer pid;

    private String name;

    private String url;

    private String sort;

    private String remarks;

    private Integer status;

    private String icon;
    
    private boolean checked =false;
    
    private boolean open=true;
    
    private List<SysMenu> children;
    
    @JSONField(serialize=false)
    private List<SysMenu> childMenuList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort == null ? null : sort.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

	public List<SysMenu> getChildMenuList() {
		return childMenuList;
	}

	public void setChildMenuList(List<SysMenu> childMenuList) {
		this.childMenuList = childMenuList;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public List<SysMenu> getChildren() {
		return children;
	}

	public void setChildren(List<SysMenu> children) {
		this.children = children;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}
	
    
}